<template>
  <!-- 这个是组件标签 -->
  <!-- 父亲不给数组 -->
  <Person :a="1 + 1"></Person>
</template>

<script setup lang="ts" name="App">
import Person from "./Person.vue";
import { reactive } from "vue";
import {
  type PersonInter,
  type Persons,
} from "d:/demo01/vite-project/src/types";
let personList = reactive<Persons>([
  { id: "iwdfgwafbwa", name: "nnnn", age: 232 },
  { id: "i234234324", name: "mmmm", age: 114 },
  { id: "isfgsgseg", name: "kkkk", age: 514 },
]);
</script>

<style scoped>
/* scoped是局部样式 */
</style>
